package demo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: yu.zhou
 * @DateTime: 2023/01/03 17:06
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CourseInfoAnnotation {

    // 课程名称
    public String courseName();

    // 课程标签
    public String courseTag();

    // 课程序号
    public int courseIdx() default 233;

}
